package com.usian.service;

import com.usian.pojo.TbContentCategory;
import com.usian.utils.CatResult;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author chen
 * @date 2021/1/11 - 17:02 - 星期一
 * @project usian_parent
 * @package com.usian.service
 * @by GGbomd猪猪侠
 */
@Component
public interface ContentCategoryService {
    List<TbContentCategory> selectContentCategoryByParentId(Long id);

    Integer insertContentCategory(TbContentCategory tbContentCategory);

    Integer deleteContentCategoryById(Long categoryId);

    Integer updateContentCategory(Long id, String name);

    CatResult selectItemCategoryAll();
}
